package com.keyinong.caizhengting.tools;

public interface Url {
    //	public String ServerUrl="http://dcapitest.kinontech.com/";
    public String ServerUrl = "http://dcapi.kinontech.com/index.php";
    //public String ServerUrl="http://test.jishi88.cn/czt_front/index.php/";  //测试地址

    /**
     * 登录
     */
    public String loginUrl = ServerUrl + "passport/login";
    /**
     * 获取验证码
     */
    public String yanzhengmaUrl = ServerUrl + "passport/sendCode";
    /**
     * 用户注册
     */
    public String zhuce = ServerUrl + "passport/save";
    /**
     * 获取忘记密码验证码
     */
    public String forgetpwdyanzhengmaUrl = ServerUrl + "passport/sendResetCode";
    /**
     * 忘记密码
     */
    public String xiugaimimaUrl = ServerUrl + "passport/updatePassword";
    /**
     * 推荐商品
     */
    public String tuijianshangpinUrl = ServerUrl + "home/getRecProducts";
    /**
     * 所有商品
     */
    public String allProductsUrl = ServerUrl + "home/getAllProducts";
    /**
     * 商品二级分类
     */
    public String goodtwosort = ServerUrl + "home/getProducts";
    /**
     * 加入购物车
     */
    public String addgoodscat = ServerUrl + "shoppingcart/addtocart";
    /**
     * 更新购物车
     */
    public String refreshShoppingCat = ServerUrl + "shoppingcart/update";
    /**
     * 返回购物车
     */
    public String getShoppingCat = ServerUrl + "shoppingcart/getShoppingcart";
    /**
     * 移除商品
     */
    public String deletegoods = ServerUrl + "shoppingcart/delete";
    /**
     * 清空购物车
     */
    public String cleanShoppingCat = ServerUrl + "shoppingcart/clear";
    /**
     * 确认订单
     */
    public String confirmCaidan = ServerUrl + "order/confirm";

    String confirmFood = ServerUrl + "order/confirm2";

    String confirmGoods = ServerUrl + "order/confirm3";
    /**
     * 保存订单
     */
    public String saveOrder = ServerUrl + "order/save";
    @Deprecated
    public String newSaveOrder = ServerUrl + "order/saveOrder";

    String saveFoodOrder = ServerUrl + "order/saveOrder2";

    String saveGoodsOrder = ServerUrl + "order/save4";

    String submitGoods = ServerUrl + "order/submitpay3";
    /**
     * 返回用户订单
     */
    public String myOrder = ServerUrl + "order/myorder";
    /**
     * 返回订单详情
     */
    public String orderDetail = ServerUrl + "order/detail";
    /**
     * 取消订单
     */
    public String cancelOrder = ServerUrl + "order/cancel";
    /**
     * 删除订单
     */
    public String deleteOrder = ServerUrl + "order/delete";
    /**
     * 个人资料
     */
    public String Person = ServerUrl + "user/userinfo";
    /**
     * 添加收藏
     */
    public String addtoCollect = ServerUrl + "home/addtocollect";
    /**
     * 取消收藏
     */
    public String cancelCollect = ServerUrl + "home/cancelcollect";
    /**
     * 我的收藏
     */
    public String myCollect = ServerUrl + "home/getCollects";
    /**
     * 更新收货地址
     */
    public String dizhi = ServerUrl + "user/update";
    /**
     * 支付宝支付
     */
    public String aliPay = ServerUrl + "alipay/update";
    /**
     * 支付宝团队支付
     */
    public String aliPayteam = ServerUrl + "alipay2/update";
    /**
     * 我的团队
     */
    public String myTeam = ServerUrl + "user/myteam";
    /**
     * 团队详情
     */
    public String teamDetail = ServerUrl + "user/teamdetail";
    /**
     * 团队订单
     */
    public String teamOrder = ServerUrl + "order/teamorder";
    /**
     * 团队订单详情
     */
    public String teamorderDetail = ServerUrl + "order/teamdetail";
    /**
     * 团队订餐取消
     */
    public String teamorderCancel = ServerUrl + "order/teamcancel";
    /**
     * 团队订餐删除
     */
    public String teamorderDelete = ServerUrl + "order/teamdelete";
    /**
     * 查询余额
     */
    public String getBalance = ServerUrl + "order/getBalance";
    /**
     * 余额支付
     */
    public String submitpay = ServerUrl + "order/submitpay";
    /**
     * 联系电话
     */
    public String getPhone = ServerUrl + "user/getPhone";
    /**
     * 商品详情
     */
    public String getProductdetail = ServerUrl + "home/getProductdetail";
    /**
     * 获取地址
     */
    public String getAddress = ServerUrl + "home/getAddress";
    /**
     * 申请退款
     */
    public String refund = ServerUrl + "order/refund";
    /**
     * 我的优惠券
     */
    public String myCoupon = ServerUrl + "coupon/myCoupon";
    /**
     * 可用优惠券
     */
    public String getCoupons = ServerUrl + "coupon/getCoupons";
    /**
     * 抵用优惠券
     */
    public String updateCoupon = ServerUrl + "coupon/updateCoupon";
    /**
     * 返回幻灯片
     */
    public String getPictures = ServerUrl + "home/getPictures";
    /**
     * 支付失败返回优惠券
     */
    public String resetCoupon = ServerUrl + "coupon/resetCoupon";
    /**
     * 商品分类
     */
    public String getCategories = ServerUrl + "home/getCategories_v2";
    /**
     * 商品二级分类
     */
    public String getTwoSort = ServerUrl + "home/getProducts_v2";


    /**
     * 最新营养小贴士
     */
    public String getArticle = ServerUrl + "home/getArticle";
    /**
     * 小贴士列表
     */
    public String getArticles = ServerUrl + "home/getArticles";
    /**
     * 小贴士详情
     */
    public String getArticleDetail = ServerUrl + "home/getArticleDetail";
    /**
     * 返回午餐取消日期
     */
    public String getLunch = ServerUrl + "user/getLunch";
    /**
     * 首页信息
     */
    public String getHomeInfo = ServerUrl + "home/getHomeInfo";
    /**
     * 首页消息
     */
    public String getHomeMessage = ServerUrl + "home/getHomeMessage";
    /**
     * 保存午餐取消就餐
     */
    public String saveLunch = ServerUrl + "user/saveLunch";
    /**
     * 删除午餐取消就餐
     */
    public String deleteLunch = ServerUrl + "user/deleteLunch";
    /**
     * 保存反馈信息
     */
    public String saveAdvise = ServerUrl + "user/saveAdvise";
    /**
     * 更新个人信息
     */
    public String updateInfo = ServerUrl + "user/updateInfo";
    /**
     * 消息列表
     */
    public String getMessage = ServerUrl + "home/getMessage";
    /**
     * 获取取餐二维码
     */
    public String getCode = ServerUrl + "order/getCode";
    /**
     * 获取付款二维码
     */
    public String getErweima = ServerUrl + "user/getCode";
    /**
     * 扫码支付
     */
    public String getConsume = ServerUrl + "user/getConsume";
    /**
     * 商品列表中移除商品
     */
    public String remove = ServerUrl + "shoppingcart/remove";
    /**
     * 消费金额
     */
    public String consumeRecords = ServerUrl + "user/consumeRecords";
    /**
     * 充值、退款记录
     */
    public String balanceRecords = ServerUrl + "user/balanceRecords";
    /**
     * 返回版本号
     */
    public String getVersion = ServerUrl + "home/getVersion";
    /**
     * 搜索
     */
    public String searchProduct = ServerUrl + "home/searchProduct";
    /**
     * 头像上传
     */
    public String updateLogo = ServerUrl + "user/updateLogo";
    /**
     * 修改密码验证码
     */
    public String sendCode = ServerUrl + "user/sendCode";
    /**
     * 修改密码
     */
    public String updatepassword = ServerUrl + "user/updatepassword";
}
